<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>9.24</title>
    <style>
        .box {
            position: relative;
            left: 50%;
            transform: translateX(-50%);
            width: 1000px;
            height: 100px;
            border: 1px solid black;
            background-color: white;
            border-radius: 0 10px 0 10px;

        }

        .title {
            margin: 10px;
            left: 0;
            top: 0;
        }

        .box .find {
            margin: 20px;
            display: inline-block;


        }
    </style>
</head>

<body>
    <!-- <div class='box'>
        <div class="title"><span>xiaomi</span></div>
        <div class="find"><span>xiaomi</span></div>
        <div class="find"><span>xiaomi </span></div>
        <div class="find"><span>xiaomi </span></div>
        <div class="find"><span>xiaomi </span></div>
    </div> -->
    <script>
        let goods = {
            name: '小米',
            num: 1000112816024,
            weight: 0.55 + 'kg',
            address: '中国大陆'
        }
        goods.name = '小米10plus'
        goods.color = 'pink'
        document.write(` <div class='box'>`)
        document.write(` <div class="title">品牌：${goods.name}</div>
        <div class="find">商品名称: ${goods.name}</div>
        <div class="find">商品编号: ${goods.num} </div>
        <div class="find">商品毛重: ${goods.weight}</div>
        <div class="find">商品产地: ${goods.address}</div>`)
        document.write(`</div>`)
    </script>
</body>

</html>